var rootview = ui("$");
var openHelper = require("helper/open");

rootview.setMapping({
	"levelLayout.visible":"isLevel",
	"levelImg.source":"levelImg",
	"userImg.source":"fullLogo",
	"userImg.tag":"id",
	"honorLevel.bgColor":"honorLevelBg",
	"honorLevel.text":"honorLevelName"
});

ui("do_ALayout_2").on("touch","", 300,function(){
	var userId = ui("userImg").tag;//用户id
	if(userId!=null){
		openHelper.openPersonal(userId);//到他的主页
	}
})